-- GENERATED SPELL FOR [Portable Fel Cannon] --


function spell0_23278(pUnit, Event) --@Fel Cannon Blast,n/a--
pUnit:FullCastSpellOnTarget(40672,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23278', 2000, 1)
end

function Sorts_23278(pUnit, Event)
local choix_sorts_23278 = math.random(0, 0)
if choix_sorts_23278 == 0 then
pUnit:RegisterEvent('spell0_23278', 1, 1)
end
end

function mob23278_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23278', math.random(1500, 3000), 1)
end

function mob23278_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23278_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23278_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23278, 1, 'mob23278_Action')
RegisterUnitEvent(23278, 2, 'mob23278_Leave')
RegisterUnitEvent(23278, 3, 'mob23278_Kill')
RegisterUnitEvent(23278, 4, 'mob23278_Die')
